#include <iostream>
#include <fstream>
#include <vector>
#include <json/json.h>
#include <order.h>
#include <string>
#include <display.h>
#include <account.h>

using namespace std;

int main() {
    OrderManager orderManager("../file/orders.json");
    AccountManager accountManager("../file/account.json");

    //MainMenu();
    StartMenu();
    // Add some orders
    // orderManager.addOrder(Order("John Doe", "Product 1", "Pending"));
    // orderManager.addOrder(Order("Jane Smith", "Product 2", "Shipped"));
    // orderManager.addOrder(Order("Mike Johnson", "Product 3", "Delivered"));

    // Display orders
    //orderManager.displayOrders();

    // Modify order status
    //orderManager.modifyOrderStatus("001", "Cancelled");

    // Cancel order
    //orderManager.cancelOrder("00002");

    // Display orders after modifications
    //orderManager.displayOrders();

    // Save orders to file
    //orderManager.saveOrders();

    //orderManager.findOrdersByNum("00001");
    
}